package com.cpit.platform.common.entity;

public class SelectOptionJsonData {

	private String value = "";
	
	private String text = "";

	private boolean asDefault = false;
	
	public SelectOptionJsonData(String value, String text) {
		super();
		this.value = value;
		this.text = text;
	}

	public SelectOptionJsonData(String value, String text, boolean def) {
		super();
		this.value = value;
		this.text = text;
		this.asDefault = def;
	}
	
	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public boolean isAsDefault() {
		return asDefault;
	}

	public void setAsDefault(boolean asDefault) {
		this.asDefault = asDefault;
	}

	@Override
	public String toString() {
		return "SelectOptionJsonData [value=" + value + ", text=" + text + "]";
	}
	
}
